﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Wwtfly.BBS.BackModels.Models.NewsType;
using Wwtfly.BBS.BackBLL.News;

namespace Wwtfly.BBS.ForeApplication.WebForm
{
    public partial class ExpertNewsList : System.Web.UI.Page
    {
        protected string LotteryIDValue = "";
        protected NewsTypesModel newType7 = null;
        protected void Page_Load(object sender, EventArgs e)
        {
            LotteryIDValue = Request.QueryString["actionLotteryID"];
            newType7 = NewTypesBLL.GetInfo(7);
            if (newType7 != null)
            {
                lilNewsTitle.Text = newType7.Title;
                this.Repeaternew1.DataSource = NewsBLL.NewsList(10, NewTypesBLL.GetInfo(newType7.Id).Id);
                this.Repeaternew1.DataBind();
            }
        }
    }
}